]> asedeno.scripts.mit.edu Git - linux.git/commit
Revert "rsi: fix potential null dereference in rsi_probe()"
authorJohan Hovold <johan@kernel.org>
Fri, 4 Oct 2019 14:44:21 +0000 (16:44 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 9 Oct 2019 08:23:45 +0000 (11:23 +0300)
commitc5dcf8f0e850a504235a0af51f73d51b6ddc0933
tree8e2da4632c73b117fb8618e911066bf5dcf1f771
parent4614239cba34b28cb2d95d60c6f4498f39e533dd
Revert "rsi: fix potential null dereference in rsi_probe()"

This reverts commit f170d44bc4ec2feae5f6206980e7ae7fbf0432a0.

USB core will never call a USB-driver probe function with a NULL
device-id pointer.

Reverting before removing the existing checks in order to document this
and prevent the offending commit from being "autoselected" for stable.

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/rsi/rsi_91x_usb.c