diff options
author | Colin Ian King | 2016-03-29 18:00:50 +0100 |
---|---|---|
committer | David S. Miller | 2016-03-30 15:48:15 -0400 |
commit | fea24857bb62990b839feb62090ad72a1c93735a (patch) | |
tree | dde35b5bc364514ebe4b6e8623bb54d25a3f9ddd /drivers/rtc/rtc-rx6110.c | |
parent | 28fd34985bd5edaea6282a0586f91bcddd336f5e (diff) |
qed: initialize return rc to avoid returning garbage
in the case where qed_slowpath_irq_req is not called, rc is not
assigned and so qed_int_igu_enable will return a garbage value.
Fix this by initializing rc to 0.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/rtc/rtc-rx6110.c')
0 files changed, 0 insertions, 0 deletions