diff options
Diffstat (limited to 'isys/isys.c')
-rw-r--r-- | isys/isys.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/isys/isys.c b/isys/isys.c index 45d45941c..958baba81 100644 --- a/isys/isys.c +++ b/isys/isys.c @@ -131,7 +131,6 @@ static PyObject * doGetMacAddress(PyObject * s, PyObject * args); static PyObject * doMatchPathContext(PyObject * s, PyObject * args); static PyObject * doSetFileContext(PyObject * s, PyObject * args); #endif -static PyObject * isWireless(PyObject * s, PyObject * args); static PyObject * doProbeBiosDisks(PyObject * s, PyObject * args); static PyObject * doGetBiosDisk(PyObject * s, PyObject * args); static PyObject * doSegvHandler(PyObject *s, PyObject *args); @@ -182,7 +181,6 @@ static PyMethodDef isysModuleMethods[] = { { "matchPathContext", (PyCFunction) doMatchPathContext, METH_VARARGS, NULL }, { "setFileContext", (PyCFunction) doSetFileContext, METH_VARARGS, NULL }, #endif - { "isWireless", (PyCFunction) isWireless, METH_VARARGS, NULL }, { "biosDiskProbe", (PyCFunction) doProbeBiosDisks, METH_VARARGS,NULL}, { "getbiosdisk",(PyCFunction) doGetBiosDisk, METH_VARARGS,NULL}, { "handleSegv", (PyCFunction) doSegvHandler, METH_VARARGS, NULL }, @@ -967,18 +965,6 @@ static PyObject * doGetMacAddress(PyObject * s, PyObject * args) { return Py_BuildValue("s", ret); } -static PyObject * isWireless(PyObject * s, PyObject * args) { - char *dev; - int ret; - - if (!PyArg_ParseTuple(args, "s", &dev)) - return NULL; - - ret = is_wireless_interface(dev); - - return Py_BuildValue("i", ret); -} - #ifdef USESELINUX static PyObject * doMatchPathContext(PyObject * s, PyObject * args) { char *fn, *buf = NULL; |