diff options
author | Colin Ian King <colin.king@canonical.com> | 2018-01-23 13:17:27 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-02-13 23:46:06 +0300 |
commit | 5134d2fd9fe1278ecb309421275d88b6c80ebddd (patch) | |
tree | b798bf4f7f1ce0a48209b2744fea0891cf79dfad /.mailmap | |
parent | 82d632b85eb89f97051530f556cb49ee1c04bde7 (diff) | |
download | linux-5134d2fd9fe1278ecb309421275d88b6c80ebddd.tar.xz |
rtc: ds1302: remove redundant initializations of pointer bp
Pointe bp is being initialized and this value is never read, it
is being updated to the same value later just before it is going to
be used. Remove the initialization as it is never read and keep
the setting of bp closer to the use of bp.
Cleans up clang warnings:
drivers/rtc/rtc-ds1302.c:115:7: warning: Value stored to 'bp' during
its initialization is never read
drivers/rtc/rtc-ds1302.c:46:7: warning: Value stored to 'bp' during
its initialization is never read
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions