Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit afda8bb5 authored by Vladimir Kondratiev's avatar Vladimir Kondratiev Committed by John W. Linville
Browse files

wil6210: checkpatch warnings

parent 7743882d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -204,7 +204,6 @@ static int wil_cfg80211_scan(struct wiphy *wiphy,
		break;
	default:
		return -EOPNOTSUPP;

	}

	/* FW don't support scan after connection attempt */
+0 −1
Original line number Diff line number Diff line
@@ -52,7 +52,6 @@

static inline void wil_icr_clear(u32 x, void __iomem *addr)
{

}
#else /* defined(CONFIG_WIL6210_ISR_COR) */
/* configure to Write-1-to-Clear mode */
+2 −2
Original line number Diff line number Diff line
@@ -80,7 +80,7 @@ static void _wil6210_disconnect(struct wil6210_priv *wil, void *bssid)
					GFP_KERNEL);
		break;
	default:
		;
		break;
	}

	for (i = 0; i < ARRAY_SIZE(wil->vring_tx); i++)
@@ -357,7 +357,7 @@ static int __wil_up(struct wil6210_priv *wil)
			wmi_set_channel(wil, channel->hw_value);
		break;
	default:
		;
		break;
	}

	/* MAC address - pre-requisite for other commands */
+1 −2
Original line number Diff line number Diff line
@@ -758,8 +758,7 @@ netdev_tx_t wil_start_xmit(struct sk_buff *skb, struct net_device *ndev)
	case -ENOMEM:
		return NETDEV_TX_BUSY;
	default:
		; /* goto drop; */
		break;
		break; /* goto drop; */
	}
 drop:
	netif_tx_stop_all_queues(ndev);
+0 −1
Original line number Diff line number Diff line
@@ -188,7 +188,6 @@ static int __wmi_send(struct wil6210_priv *wil, u16 cmdid, void *buf, u16 len)
		wil_err(wil, "WMI size too large: %d bytes, max is %d\n",
			(int)(sizeof(cmd) + len), r->entry_size);
		return -ERANGE;

	}

	might_sleep();
+2 −2

File changed.

Contains only whitespace changes.

Loading