mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 23:55:36 +07:00
Staging: wlan-ng: fix unnecessary parentheses.
This patch fixes Unnecessary parentheses around interface->dev found by checkpatch.pl tool. Signed-off-by: Kevin McKinney <klmckinney1@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
8d215eadf6
commit
d03c075dda
@ -74,7 +74,7 @@ static int prism2sta_probe_usb(struct usb_interface *interface,
|
||||
}
|
||||
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");
|
||||
result = -EIO;
|
||||
goto failed;
|
||||
@ -87,7 +87,7 @@ static int prism2sta_probe_usb(struct usb_interface *interface,
|
||||
/* Register the wlandev, this gets us a name and registers the
|
||||
* linux netdevice.
|
||||
*/
|
||||
SET_NETDEV_DEV(wlandev->netdev, &(interface->dev));
|
||||
SET_NETDEV_DEV(wlandev->netdev, &interface->dev);
|
||||
|
||||
/* Do a chip-level reset on the MAC */
|
||||
if (prism2_doreset) {
|
||||
|
Loading…
Reference in New Issue
Block a user