]> git.baikalelectronics.ru Git - kernel.git/commit
net: caif: remove redundant re-assignment of pointer pfrm
authorColin Ian King <colin.king@canonical.com>
Mon, 22 Jan 2018 15:25:43 +0000 (15:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Jan 2018 15:51:56 +0000 (10:51 -0500)
commit014dd0d5017c520badb27dab88ecf2c22e34fe30
tree1f4fca0029b939ee54749183773f8e0980d21e71
parent17d2bb4b127e0758adf515559ec1b3790e0f6c31
net: caif: remove redundant re-assignment of pointer pfrm

The pointer pfrm is initialized and then later re-assigned the same
value and hence the second assignment is redundant and can be removed.

Cleans up clang warning:
drivers/net/caif/caif_hsi.c:222:6: warning: Value stored to 'pfrm'
during its initialization is never read

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/caif/caif_hsi.c