Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
6a8729ec
Commit
6a8729ec
authored
May 20, 2004
by
Andrew Morton
Committed by
Linus Torvalds
May 20, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] cleanup double semicolons
From: Nuno Monteiro <nuno@itsari.org> Remove lots of double-semicolons.
parent
2907430d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
11 deletions
+11
-11
arch/arm/mach-pxa/leds-lubbock.c
arch/arm/mach-pxa/leds-lubbock.c
+3
-3
drivers/char/ipmi/ipmi_bt_sm.c
drivers/char/ipmi/ipmi_bt_sm.c
+1
-1
drivers/net/wireless/hermes.h
drivers/net/wireless/hermes.h
+2
-2
drivers/scsi/pci2000.c
drivers/scsi/pci2000.c
+5
-5
No files found.
arch/arm/mach-pxa/leds-lubbock.c
View file @
6a8729ec
...
@@ -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
:
...
...
drivers/char/ipmi/ipmi_bt_sm.c
View file @
6a8729ec
...
@@ -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
;
...
...
drivers/net/wireless/hermes.h
View file @
6a8729ec
...
@@ -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
++
)
...
...
drivers/scsi/pci2000.c
View file @
6a8729ec
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment