diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-07-17 08:03:49 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-07-17 22:18:00 +0200 |
commit | 9db48926208562df3c778682e064990170ab8971 (patch) | |
tree | ee9ab885460433b9cdac27b87e863bd0c0d174f2 /drivers/ata/sata_mv.c | |
parent | drivers/net/wan/sbni: kill uninit'd var warning (diff) | |
download | linux-9db48926208562df3c778682e064990170ab8971.tar.xz linux-9db48926208562df3c778682e064990170ab8971.zip |
drivers/infiniband/hw/mthca/mthca_qp: kill uninit'd var warning
drivers/infiniband/hw/mthca/mthca_qp.c: In function
‘mthca_tavor_post_send’:
drivers/infiniband/hw/mthca/mthca_qp.c:1594: warning: ‘f0’ may be used
uninitialized in this function
drivers/infiniband/hw/mthca/mthca_qp.c: In function
‘mthca_arbel_post_send’:
drivers/infiniband/hw/mthca/mthca_qp.c:1949: warning: ‘f0’ may be used
uninitialized in this function
Initializing 'f0' is not strictly necessary in either case, AFAICS.
I was considering use of uninitialized_var(), but looking at the
complex flow of control in each function, I feel it is wiser and
safer to simply zero the var and be certain of ourselves.
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/sata_mv.c')
0 files changed, 0 insertions, 0 deletions