From: Sachin Kamat Date: Thu, 24 Oct 2013 11:53:00 +0000 (+0100) Subject: iio: light: vcnl4000: Remove redundant code X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~62^2~91^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0203255415844d73b5f4bec9bc72903c8e49d8d;p=pandora-kernel.git iio: light: vcnl4000: Remove redundant code The if check is redundant as the value obtained from iio_device_register() is already in the required format. Hence return the function directly. Signed-off-by: Sachin Kamat Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed