summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8188eu
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-07-11 22:55:04 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-16 09:13:53 +0200
commit397fcd12e4890624228e25468a1ab5f6fc78a1e3 (patch)
tree4d9591ee7002224ff093b5cd17f1d4f9191c5f62 /drivers/staging/rtl8188eu
parent15d5193104a457d5151840247e3bce561c42e3e9 (diff)
staging: vchiq_arm: fix error codes in probe
If vchiq_debugfs_init() fails, then we accidentally return a valid pointer casted to int on error. This code is simpler if we get rid of the "ptr_err" variable and just use "err" throughout. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu')
0 files changed, 0 insertions, 0 deletions