summaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/sa1100_h3600.c
diff options
context:
space:
mode:
authorRussell King2012-01-14 17:21:50 +0100
committerRussell King2012-02-21 15:27:04 +0100
commit1c3d038bd5fb9dc868bb7474caaddc7aea4d562e (patch)
treeec853560944959c1ac0ff9a7bd4ed89a3fd4e4af /drivers/pcmcia/sa1100_h3600.c
parentPCMCIA: soc_common: remove soc_pcmcia_*_irqs functions (diff)
downloadkernel-qcow2-linux-1c3d038bd5fb9dc868bb7474caaddc7aea4d562e.tar.gz
kernel-qcow2-linux-1c3d038bd5fb9dc868bb7474caaddc7aea4d562e.tar.xz
kernel-qcow2-linux-1c3d038bd5fb9dc868bb7474caaddc7aea4d562e.zip
PCMCIA: soc_common: remove explicit wrprot initialization in socket drivers
soc_common already initializes state.wrprot to zero, so explicitly setting wrprot to zero in the socket drivers has no additional effect. Acked-by: Dominik Brodowski <linux@dominikbrodowski.net> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/pcmcia/sa1100_h3600.c')
-rw-r--r--drivers/pcmcia/sa1100_h3600.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pcmcia/sa1100_h3600.c b/drivers/pcmcia/sa1100_h3600.c
index 410a636dbfc8..d9c7337b909c 100644
--- a/drivers/pcmcia/sa1100_h3600.c
+++ b/drivers/pcmcia/sa1100_h3600.c
@@ -96,7 +96,6 @@ h3600_pcmcia_socket_state(struct soc_pcmcia_socket *skt, struct pcmcia_state *st
{
state->bvd1 = 0;
state->bvd2 = 0;
- state->wrprot = 0; /* Not available on H3600. */
state->vs_3v = 0;
state->vs_Xv = 0;
}