diff options
author | Roland Dreier <rolandd@cisco.com> | 2006-12-12 14:50:20 -0500 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-12-12 14:50:20 -0500 |
commit | 44f8e3f3f7d8e61b4aafced278403955fe18ad88 (patch) | |
tree | d89657bc712f29b8959b5087d39a294218dd014c /drivers/infiniband/hw/ipath/ipath_init_chip.c | |
parent | f47e22c6e4225f40e0dd662398e2cb204f6ec8ed (diff) |
IB/ipath: Remove unused "write-only" variables
Remove variables that are set but then never looked at in the ipath
driver. These cleanups came from David Binderman's list of "set but
never used" warnings from icc.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_init_chip.c')
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_init_chip.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_init_chip.c b/drivers/infiniband/hw/ipath/ipath_init_chip.c index d819cca524cd..d4f6b5239ef8 100644 --- a/drivers/infiniband/hw/ipath/ipath_init_chip.c +++ b/drivers/infiniband/hw/ipath/ipath_init_chip.c | |||
@@ -347,10 +347,9 @@ done: | |||
347 | static int init_chip_reset(struct ipath_devdata *dd, | 347 | static int init_chip_reset(struct ipath_devdata *dd, |
348 | struct ipath_portdata **pdp) | 348 | struct ipath_portdata **pdp) |
349 | { | 349 | { |
350 | struct ipath_portdata *pd; | ||
351 | u32 rtmp; | 350 | u32 rtmp; |
352 | 351 | ||
353 | *pdp = pd = dd->ipath_pd[0]; | 352 | *pdp = dd->ipath_pd[0]; |
354 | /* ensure chip does no sends or receives while we re-initialize */ | 353 | /* ensure chip does no sends or receives while we re-initialize */ |
355 | dd->ipath_control = dd->ipath_sendctrl = dd->ipath_rcvctrl = 0U; | 354 | dd->ipath_control = dd->ipath_sendctrl = dd->ipath_rcvctrl = 0U; |
356 | ipath_write_kreg(dd, dd->ipath_kregs->kr_rcvctrl, 0); | 355 | ipath_write_kreg(dd, dd->ipath_kregs->kr_rcvctrl, 0); |