Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ffa68e79ffa952ec909b66505f004e7323316369
Commit:     ffa68e79ffa952ec909b66505f004e7323316369
Parent:     b30fabadae2b3c1a65e3662be98f105d5718db70
Author:     Jiri Slaby <[EMAIL PROTECTED]>
AuthorDate: Tue May 8 00:35:43 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Tue May 8 11:15:22 2007 -0700

    Char: cyclades, remove PAUSE
    
    cyclades, remove PAUSE
    
    PAUSE expands to do {} while (0), it's useless.
    
    Signed-off-by: Jiri Slaby <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 drivers/char/cyclades.c |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/drivers/char/cyclades.c b/drivers/char/cyclades.c
index ff63ee1..3b62962 100644
--- a/drivers/char/cyclades.c
+++ b/drivers/char/cyclades.c
@@ -624,12 +624,6 @@
 #undef CY_ENABLE_MONITORING
 #undef CY_PCI_DEBUG
 
-#if 0
-#define PAUSE __asm__("nop")
-#else
-#define PAUSE do {} while (0)
-#endif
-
 /*
  * Include section 
  */
@@ -5009,7 +5003,6 @@ static int __init cy_detect_pci(void)
                                cy_writel(&((struct RUNTIME_9060 *)
                                        (cy_pci_addr0))->loc_addr_base,
                                        WIN_CREG);
-                               PAUSE;
                                printk("Cyclades-8Zo/PCI: FPGA id %lx, ver "
                                        "%lx\n", (ulong) (0xff &
                                        cy_readl(&((struct CUSTOM_REG *)
@@ -5030,7 +5023,6 @@ static int __init cy_detect_pci(void)
                           ensures that the driver will not attempt to talk to
                           the board until it has been properly initialized.
                         */
-                       PAUSE;
                        if ((mailbox == ZO_V1) || (mailbox == ZO_V2))
                                cy_writel(cy_pci_addr2 + ID_ADDRESS, 0L);
 
@@ -5129,7 +5121,6 @@ static int __init cy_detect_pci(void)
                printk("Cyclades-Z/PCI: New Cyclades-Z board.  FPGA not "
                                "loaded\n");
 #endif
-               PAUSE;
                /* This must be the new Cyclades-Ze/PCI. */
                cy_pci_nchan = ZE_V1_NPORTS;
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to