staging: fbtft: remove redundant initialization of buf
authorColin Ian King <colin.king@canonical.com>
Fri, 3 Nov 2017 13:17:51 +0000 (13:17 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Nov 2017 15:44:06 +0000 (16:44 +0100)
commit42996f2d8e540b2baa7c26a4dac2f50dbbc9344d
tree0543da202fab08f95c1aeed4cfaa5a57acbe3e9a
parent16808dcf605e6302319a8c3266789b76d4c0983b
staging: fbtft: remove redundant initialization of buf

The pointer buf is being set on each iteration of a for-loop and
so the initialization of buf at declaration time is redundant and
can be removed.  Cleans up clang warning:

drivers/staging/fbtft/fb_uc1701.c:130:6: warning: Value stored to 'buf' during its initialization is never read

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fb_uc1701.c