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

Staging: wlan-ng: fix unnecessary parentheses.

This patch fixes Unnecessary parentheses around interface->dev found
by checkpatch.pl tool.
Signed-off-by: NKevin McKinney <klmckinney1@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 8d215ead
...@@ -74,7 +74,7 @@ static int prism2sta_probe_usb(struct usb_interface *interface, ...@@ -74,7 +74,7 @@ static int prism2sta_probe_usb(struct usb_interface *interface,
} }
hw = wlandev->priv; hw = wlandev->priv;
if (wlan_setup(wlandev, &(interface->dev)) != 0) { if (wlan_setup(wlandev, &interface->dev) != 0) {
dev_err(&interface->dev, "wlan_setup() failed.\n"); dev_err(&interface->dev, "wlan_setup() failed.\n");
result = -EIO; result = -EIO;
goto failed; goto failed;
...@@ -87,7 +87,7 @@ static int prism2sta_probe_usb(struct usb_interface *interface, ...@@ -87,7 +87,7 @@ static int prism2sta_probe_usb(struct usb_interface *interface,
/* Register the wlandev, this gets us a name and registers the /* Register the wlandev, this gets us a name and registers the
* linux netdevice. * linux netdevice.
*/ */
SET_NETDEV_DEV(wlandev->netdev, &(interface->dev)); SET_NETDEV_DEV(wlandev->netdev, &interface->dev);
/* Do a chip-level reset on the MAC */ /* Do a chip-level reset on the MAC */
if (prism2_doreset) { if (prism2_doreset) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册