提交 1f0c9efe 编写于 作者: K Kevin McKinney 提交者: Greg Kroah-Hartman

Staging: wlan-ng: fix comparison to NULL issue.

This patch fixes comparison to NULL could be written "wlandev" found
by checkpatch.pl tool.
Signed-off-by: NKevin McKinney <klmckinney1@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 d03c075d
......@@ -137,7 +137,7 @@ static void prism2sta_disconnect_usb(struct usb_interface *interface)
wlandevice_t *wlandev;
wlandev = (wlandevice_t *)usb_get_intfdata(interface);
if (wlandev != NULL) {
if (wlandev) {
LIST_HEAD(cleanlist);
hfa384x_usbctlx_t *ctlx, *temp;
unsigned long flags;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册