diff options
author | Dan Carpenter <error27@gmail.com> | 2010-10-08 08:57:44 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-08 10:29:56 -0400 |
commit | 02339374cf3a28c30b5a137ab181eed358589dea (patch) | |
tree | 96f7342556c38a47013a3f6ed75dcb48233982d4 /drivers/staging/brcm80211 | |
parent | ef5d2056456d63528daa762b32afa5c430635f33 (diff) |
Staging: bcm: remove unneeded NULL check
The error handling here is wrong. If psIntfAdapter were NULL then we
would have a NULL dereference in the debug output on the error path.
But this function is only called from usbbcm_device_probe() when
psIntfAdapter is non-NULL.
Since the check isn't needed and I removed it instead of fixing it.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/brcm80211')
0 files changed, 0 insertions, 0 deletions