diff options
author | Huazhong Tan | 2020-09-08 10:59:48 +0800 |
---|---|---|
committer | David S. Miller | 2020-09-08 19:51:40 -0700 |
commit | d41884eecdbdd99a97018a0dbbd310a651ad197b (patch) | |
tree | d4eeb4cab9ca432480d5bafddc8851f1ce9e0adc /drivers/rtc/rtc-mcp795.c | |
parent | c1f1f16c4de407fa1924e3aa4ddbc567c0a86095 (diff) |
net: hns3: narrow two local variable range in hclgevf_reset_prepare_wait()
Since variable send_msg and ret only used in if branch, so move
their definition into the if branch.
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/rtc/rtc-mcp795.c')
0 files changed, 0 insertions, 0 deletions