diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-08-02 11:27:21 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-08-02 10:42:25 +0200 |
commit | c01513b4b29953e6ba8a8d8de77fb5ca2f01c48f (patch) | |
tree | 6f10a8a14409e5abf33d50d4ff478054a1bc13a7 /drivers/uio | |
parent | 81ae962d7f180c0092859440c82996cccb254976 (diff) | |
download | linux-c01513b4b29953e6ba8a8d8de77fb5ca2f01c48f.tar.gz linux-c01513b4b29953e6ba8a8d8de77fb5ca2f01c48f.tar.bz2 linux-c01513b4b29953e6ba8a8d8de77fb5ca2f01c48f.zip |
eeprom: idt_89hpesx: clean up an error pointer vs NULL inconsistency
We check for IS_ERR_OR_NULL() here, but later we check the same thing
for NULL only. It turns out that it can only be NULL so we can make the
checking consistent by removing the ERR_PTR stuff.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/uio')
0 files changed, 0 insertions, 0 deletions