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

Commit a9325199 authored by Jiri Slaby's avatar Jiri Slaby Committed by John W. Linville
Browse files

WIRELESS: at76c50x, remove unneeded NULL check



Stanse found that urb cannot be NULL in at76_rx_tasklet because it is
dereferenced earlier, so remove the unneeded check.

Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent f2a6d6a0
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1525,7 +1525,6 @@ static void at76_rx_tasklet(unsigned long param)

	if (priv->device_unplugged) {
		at76_dbg(DBG_DEVSTART, "device unplugged");
		if (urb)
		at76_dbg(DBG_DEVSTART, "urb status %d", urb->status);
		return;
	}