diff options
author | Mitko Haralanov <mitko.haralanov@intel.com> | 2015-01-16 16:55:27 +0300 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2015-02-17 03:42:14 +0300 |
commit | 18c0b82a3e4501511b08d0e8676fb08ac08734a3 (patch) | |
tree | c6a4bfb33d896cebb7815e4b6071dde66c3f679a /drivers/infiniband/hw/qib/qib_init.c | |
parent | d6522223e4a07f7bc59d5b37b26d38a0a85baaaf (diff) | |
download | linux-18c0b82a3e4501511b08d0e8676fb08ac08734a3.tar.xz |
IB/qib: Do not write EEPROM
This changeset removes all the code that allows the driver to write to
the EEPROM and update the recorded error counters and power on hours.
These two stats are unused and writing them exposes a timing risk
which could leave the EEPROM in a bad state preventing further normal
operation of the HCA.
Cc: <stable@vger.kernel.org>
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Mitko Haralanov <mitko.haralanov@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw/qib/qib_init.c')
-rw-r--r-- | drivers/infiniband/hw/qib/qib_init.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/qib/qib_init.c b/drivers/infiniband/hw/qib/qib_init.c index 729da39c49ed..738269b46d83 100644 --- a/drivers/infiniband/hw/qib/qib_init.c +++ b/drivers/infiniband/hw/qib/qib_init.c @@ -931,7 +931,6 @@ static void qib_shutdown_device(struct qib_devdata *dd) qib_free_pportdata(ppd); } - qib_update_eeprom_log(dd); } /** |