Re: [PATCH] iio: dac: remove redundant variable 'shift'

From: Sean NyekjÃr
Date: Mon Jul 02 2018 - 06:43:36 EST




On 2018-07-02 12:24, Colin King wrote:
From: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Variable shift is being assigned but is never used hence it is
redundant and can be removed.

Cleans up two clang warnings:
warning: variable âshiftâ set but not used [-Wunused-but-set-variable]

Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
Reviewed-by: Sean Nyekjaer <sean.nyekjaer@xxxxxxxxx>

Good catch :-)

BR
/Sean