Commit 6a8729ec authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] cleanup double semicolons

From: Nuno Monteiro <nuno@itsari.org>

Remove lots of double-semicolons.
parent 2907430d
...@@ -88,7 +88,7 @@ void lubbock_leds_event(led_event_t evt) ...@@ -88,7 +88,7 @@ void lubbock_leds_event(led_event_t evt)
break; break;
case led_green_on: case led_green_on:
hw_led_state |= D21;; hw_led_state |= D21;
break; break;
case led_green_off: case led_green_off:
...@@ -96,7 +96,7 @@ void lubbock_leds_event(led_event_t evt) ...@@ -96,7 +96,7 @@ void lubbock_leds_event(led_event_t evt)
break; break;
case led_amber_on: case led_amber_on:
hw_led_state |= D22;; hw_led_state |= D22;
break; break;
case led_amber_off: case led_amber_off:
...@@ -104,7 +104,7 @@ void lubbock_leds_event(led_event_t evt) ...@@ -104,7 +104,7 @@ void lubbock_leds_event(led_event_t evt)
break; break;
case led_red_on: case led_red_on:
hw_led_state |= D23;; hw_led_state |= D23;
break; break;
case led_red_off: case led_red_off:
......
...@@ -445,7 +445,7 @@ static enum si_sm_result bt_event(struct si_sm_data *bt, long time) ...@@ -445,7 +445,7 @@ static enum si_sm_result bt_event(struct si_sm_data *bt, long time)
case BT_STATE_RESET1: case BT_STATE_RESET1:
reset_flags(bt); reset_flags(bt);
bt->timeout = BT_RESET_DELAY;; bt->timeout = BT_RESET_DELAY;
bt->state = BT_STATE_RESET2; bt->state = BT_STATE_RESET2;
break; break;
......
...@@ -384,7 +384,7 @@ static inline void hermes_read_words(struct hermes *hw, int off, void *buf, unsi ...@@ -384,7 +384,7 @@ static inline void hermes_read_words(struct hermes *hw, int off, void *buf, unsi
static inline void hermes_write_words(struct hermes *hw, int off, const void *buf, unsigned count) static inline void hermes_write_words(struct hermes *hw, int off, const void *buf, unsigned count)
{ {
off = off << hw->reg_spacing;; off = off << hw->reg_spacing;
if (hw->io_space) { if (hw->io_space) {
outsw(hw->iobase + off, buf, count); outsw(hw->iobase + off, buf, count);
...@@ -406,7 +406,7 @@ static inline void hermes_clear_words(struct hermes *hw, int off, unsigned count ...@@ -406,7 +406,7 @@ static inline void hermes_clear_words(struct hermes *hw, int off, unsigned count
{ {
unsigned i; unsigned i;
off = off << hw->reg_spacing;; off = off << hw->reg_spacing;
if (hw->io_space) { if (hw->io_space) {
for (i = 0; i < count; i++) for (i = 0; i < count; i++)
......
...@@ -353,7 +353,7 @@ irqProceed:; ...@@ -353,7 +353,7 @@ irqProceed:;
if ( WaitReady (padapter) ) if ( WaitReady (padapter) )
{ {
OpDone (SCpnt, DID_TIME_OUT << 16); OpDone (SCpnt, DID_TIME_OUT << 16);
goto irq_return;; goto irq_return;
} }
outb_p (tag0, padapter->mb0); // get real error code outb_p (tag0, padapter->mb0); // get real error code
...@@ -361,7 +361,7 @@ irqProceed:; ...@@ -361,7 +361,7 @@ irqProceed:;
if ( WaitReady (padapter) ) // wait for controller to suck up the op if ( WaitReady (padapter) ) // wait for controller to suck up the op
{ {
OpDone (SCpnt, DID_TIME_OUT << 16); OpDone (SCpnt, DID_TIME_OUT << 16);
goto irq_return;; goto irq_return;
} }
error = inl (padapter->mb0); // get error data error = inl (padapter->mb0); // get error data
...@@ -374,16 +374,16 @@ irqProceed:; ...@@ -374,16 +374,16 @@ irqProceed:;
if ( bus ) // are we doint SCSI commands? if ( bus ) // are we doint SCSI commands?
{ {
OpDone (SCpnt, (DID_OK << 16) | 2); OpDone (SCpnt, (DID_OK << 16) | 2);
goto irq_return;; goto irq_return;
} }
if ( *SCpnt->cmnd == SCSIOP_TEST_UNIT_READY ) if ( *SCpnt->cmnd == SCSIOP_TEST_UNIT_READY )
OpDone (SCpnt, (DRIVER_SENSE << 24) | (DID_OK << 16) | 2); // test caller we have sense data too OpDone (SCpnt, (DRIVER_SENSE << 24) | (DID_OK << 16) | 2); // test caller we have sense data too
else else
OpDone (SCpnt, DID_ERROR << 16); OpDone (SCpnt, DID_ERROR << 16);
goto irq_return;; goto irq_return;
} }
OpDone (SCpnt, DID_ERROR << 16); OpDone (SCpnt, DID_ERROR << 16);
goto irq_return;; goto irq_return;
} }
outb_p (0xFF, padapter->tag); // clear the op interrupt outb_p (0xFF, padapter->tag); // clear the op interrupt
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment