Merge tag 'cleanup2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[deliverable/linux.git] / drivers / parport / parport_sunbpp.c
index 9390a534a2b27be95b39e4fd3555d7c371ad93b4..983a2d2df6595d908c371460fc5b0ca57ca07786 100644 (file)
@@ -82,27 +82,6 @@ static unsigned char parport_sunbpp_read_data(struct parport *p)
        return sbus_readb(&regs->p_dr);
 }
 
-#if 0
-static void control_pc_to_sunbpp(struct parport *p, unsigned char status)
-{
-       struct bpp_regs __iomem *regs = (struct bpp_regs __iomem *)p->base;
-       unsigned char value_tcr = sbus_readb(&regs->p_tcr);
-       unsigned char value_or = sbus_readb(&regs->p_or);
-
-       if (status & PARPORT_CONTROL_STROBE) 
-               value_tcr |= P_TCR_DS;
-       if (status & PARPORT_CONTROL_AUTOFD) 
-               value_or |= P_OR_AFXN;
-       if (status & PARPORT_CONTROL_INIT) 
-               value_or |= P_OR_INIT;
-       if (status & PARPORT_CONTROL_SELECT) 
-               value_or |= P_OR_SLCT_IN;
-
-       sbus_writeb(value_or, &regs->p_or);
-       sbus_writeb(value_tcr, &regs->p_tcr);
-}
-#endif
-
 static unsigned char status_sunbpp_to_pc(struct parport *p)
 {
        struct bpp_regs __iomem *regs = (struct bpp_regs __iomem *)p->base;
This page took 0.029769 seconds and 5 git commands to generate.