kni: uninitialize global variables

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
This commit is contained in:
Ferruh Yigit 2016-09-26 16:39:21 +01:00 committed by Thomas Monjalon
parent f60c4df6bb
commit fbd71b623f

View File

@ -81,11 +81,11 @@ static struct miscdevice kni_misc = {
};
/* loopback mode */
static char *lo_mode = NULL;
static char *lo_mode;
/* Kernel thread mode */
static char *kthread_mode = NULL;
static unsigned multiple_kthread_on = 0;
static char *kthread_mode;
static unsigned int multiple_kthread_on;
#define KNI_DEV_IN_USE_BIT_NUM 0 /* Bit number for device in use */