aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pnp.h
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2008-04-28 18:34:41 -0400
committerLen Brown <len.brown@intel.com>2008-04-29 03:22:30 -0400
commit261b20da4bd349f1b26e206f440809f1351be34b (patch)
tree0555fa42e62e87a4ab953f54a858003160415bd0 /include/linux/pnp.h
parent62cfb298b95d713825deb8faf2044c45a1e17a0a (diff)
ISAPNP: remove unused pnp_dev->regs field
The "regs" field in struct pnp_dev is set but never read, so remove it. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Acked-By: Rene Herman <rene.herman@gmail.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/linux/pnp.h')
-rw-r--r--include/linux/pnp.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/pnp.h b/include/linux/pnp.h
index f5b985e912ae..e3b2c0068de7 100644
--- a/include/linux/pnp.h
+++ b/include/linux/pnp.h
@@ -253,7 +253,6 @@ struct pnp_dev {
253 struct pnp_resource_table *res; 253 struct pnp_resource_table *res;
254 254
255 char name[PNP_NAME_LEN]; /* contains a human-readable name */ 255 char name[PNP_NAME_LEN]; /* contains a human-readable name */
256 unsigned short regs; /* ISAPnP: supported registers */
257 int flags; /* used by protocols */ 256 int flags; /* used by protocols */
258 struct proc_dir_entry *procent; /* device entry in /proc/bus/isapnp */ 257 struct proc_dir_entry *procent; /* device entry in /proc/bus/isapnp */
259 void *data; 258 void *data;