diff options
author | Jens Taprogge <jens.taprogge@taprogge.org> | 2012-09-13 12:32:21 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-13 20:21:38 -0700 |
commit | c6e2dfaa5251f584a05df74911685775dd750e2d (patch) | |
tree | 75a5db35c3d52ef7d1f6388a831e7e478e16b7ac /drivers/staging/ipack/ipack.c | |
parent | ea991147ecd0a2ed9172b8b32211ae3d86f95b99 (diff) | |
download | linux-3.10-c6e2dfaa5251f584a05df74911685775dd750e2d.tar.gz linux-3.10-c6e2dfaa5251f584a05df74911685775dd750e2d.tar.bz2 linux-3.10-c6e2dfaa5251f584a05df74911685775dd750e2d.zip |
staging: ipack: remove irq field in struct ipack_device.
The field irq currently is identical to the slot number. It does not seem to
have any real use. The number is written to hardware in ipoctal but it seems
the value that is written does not matter.
Signed-off-by: Jens Taprogge <jens.taprogge@taprogge.org>
Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ipack/ipack.c')
-rw-r--r-- | drivers/staging/ipack/ipack.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/ipack/ipack.c b/drivers/staging/ipack/ipack.c index c83f0154420..d1e0651592a 100644 --- a/drivers/staging/ipack/ipack.c +++ b/drivers/staging/ipack/ipack.c @@ -427,7 +427,7 @@ out: } struct ipack_device *ipack_device_register(struct ipack_bus_device *bus, - int slot, int irqv) + int slot) { int ret; struct ipack_device *dev; @@ -441,7 +441,6 @@ struct ipack_device *ipack_device_register(struct ipack_bus_device *bus, dev->dev.parent = bus->parent; dev->slot = slot; dev->bus_nr = bus->bus_nr; - dev->irq = irqv; dev->bus = bus; dev_set_name(&dev->dev, "ipack-dev.%u.%u", dev->bus_nr, dev->slot); |