OSDN Git Service

rtc: m48t59: remove redundant pointer 'name'
authorColin Ian King <colin.king@canonical.com>
Wed, 11 Jul 2018 08:33:12 +0000 (09:33 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 12 Jul 2018 19:17:36 +0000 (21:17 +0200)
commitfed0b1bd1b64a680874e8cfa4c3da8dfc01e143f
tree6e19185d893fa7035d1ef458c332a4e916c7a03c
parentb9cfb3d1200bcfd4b275f65fa84b2348560b9e30
rtc: m48t59: remove redundant pointer 'name'

Pointer 'name' is being assigned but is never used hence it is redundant
and can be removed.

Cleans up clang warning:
warning: variable 'name' set but not used [-Wunused-but-set-variable]

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-m48t59.c