aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8188eu
diff options
context:
space:
mode:
authorQuytelda Kahja <quytelda@tamalin.org>2018-03-06 17:31:41 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-08 09:56:15 -0800
commitc92e677b20fa389e9e81e21fa96e4520a5fd0ba5 (patch)
treedb6c293dd00d538c94f26d3b7dadf4cdbb251dc2 /drivers/staging/rtl8188eu
parentstaging: lustre: Remove VLA usage (diff)
downloadlinux-dev-c92e677b20fa389e9e81e21fa96e4520a5fd0ba5.tar.xz
linux-dev-c92e677b20fa389e9e81e21fa96e4520a5fd0ba5.zip
staging: most: Remove unnecessary usage of BUG_ON().
There is no need for the calls to BUG_ON() in this driver, which are used to check if mbo or mbo->context are NULL; mbo is never NULL, and if mbo->context is NULL it would have already been dereferenced and oopsed before reaching the BUG_ON(). Signed-off-by: Quytelda Kahja <quytelda@tamalin.org> Acked-by: Christian Gromm <christian.gromm@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu')
0 files changed, 0 insertions, 0 deletions