i2c: octeon: remove unused signal handling
authorNicholas Mc Guire <hofrat@osadl.org>
Thu, 11 Jun 2015 14:12:03 +0000 (16:12 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 17 Jun 2015 12:50:03 +0000 (14:50 +0200)
commite8e523a42a236d0e80a5651741cfc916aa298e3f
tree5e06ab4e20f0f552d94bb23316079e07ad7741c2
parent955fc950795d1c9f11f220f449ecb29b92985ee2
i2c: octeon: remove unused signal handling

'commit 2637e5fd232d ("i2c: octeon: Fix i2c fail problem when a process is
terminated by a signal")' removed the wait_event_interruptible_timeout to
prevent half/mixed i2c messages from being sent/recievd but forgot to
drop the signal handling case in the return handling. This just removes
this dead code. While at it the return variable is adjusted to the type
expected.

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Reviewed-by: Alexander Sverdlin <alexander.sverdlin@nokia.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-octeon.c