Skip to content

Commit

Permalink
Char: cyclades, remove PAUSE
Browse files Browse the repository at this point in the history
cyclades, remove PAUSE

PAUSE expands to do {} while (0), it's useless.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Jiri Slaby authored and Linus Torvalds committed May 8, 2007
1 parent b30faba commit ffa68e7
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions drivers/char/cyclades.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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 *)
Expand All @@ -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);

Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit ffa68e7

Please sign in to comment.