net/wan/fsl_ucc_hdlc: remove set but not used variables 'ut_info' and 'ret'
authorChen Zhou <chenzhou10@huawei.com>
Sat, 28 Dec 2019 03:09:47 +0000 (11:09 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 28 Dec 2019 19:34:02 +0000 (11:34 -0800)
commit270fe2ceda66b6964d4c6f261d7f562a02c1c786
tree46218f5963ae5d37995adc7d023c9f53e5d71d9a
parent1b3b289fd8daddf22eac89b8d185706bb7e822e9
net/wan/fsl_ucc_hdlc: remove set but not used variables 'ut_info' and 'ret'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/net/wan/fsl_ucc_hdlc.c: In function ucc_hdlc_irq_handler:
drivers/net/wan/fsl_ucc_hdlc.c:643:23:
warning: variable ut_info set but not used [-Wunused-but-set-variable]
drivers/net/wan/fsl_ucc_hdlc.c: In function uhdlc_suspend:
drivers/net/wan/fsl_ucc_hdlc.c:880:23:
warning: variable ut_info set but not used [-Wunused-but-set-variable]
drivers/net/wan/fsl_ucc_hdlc.c: In function uhdlc_resume:
drivers/net/wan/fsl_ucc_hdlc.c:925:6:
warning: variable ret set but not used [-Wunused-but-set-variable]

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Chen Zhou <chenzhou10@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/fsl_ucc_hdlc.c