summaryrefslogtreecommitdiffstats
path: root/lib/stmp_device.c
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2017-11-29 14:08:32 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-12-07 18:45:31 +0100
commit750b54deb569369f8cd808c9f7afd1348bde96ed (patch)
treef67eb8206914496035cab07ad67e450e8053fd11 /lib/stmp_device.c
parentmisc: enclosure: Fix space before '[' error (diff)
downloadlinux-750b54deb569369f8cd808c9f7afd1348bde96ed.tar.xz
linux-750b54deb569369f8cd808c9f7afd1348bde96ed.zip
misc: enclosure: Remove unnecessary error check
It is not necessary to check return value of class_register. enclosure_init returns both successful and error value. Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/stmp_device.c')
0 files changed, 0 insertions, 0 deletions