Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1525604
| From | Sergio Paracuellos <sergio.paracuellos@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 4/6] staging: slicoss: braces should be used on all arms of this statement |
| Date | 2016-11-18 19:00 +0100 |
| Message-ID | <sEVCa-1Ow-27@gated-at.bofh.it> (permalink) |
| References | <sEVCa-1Ow-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Add braces in if statement to comply with the standard
kernel coding style.
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
drivers/staging/slicoss/slicoss.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/slicoss/slicoss.c b/drivers/staging/slicoss/slicoss.c
index 4ea5df6..be62256 100644
--- a/drivers/staging/slicoss/slicoss.c
+++ b/drivers/staging/slicoss/slicoss.c
@@ -784,9 +784,9 @@ static void slic_timer_load_check(ulong cardaddr)
if ((adapter) && (adapter->state == ADAPT_UP) &&
(card->state == CARD_UP) && (slic_global.dynamic_intagg)) {
if (adapter->devid == SLIC_1GB_DEVICE_ID) {
- if (adapter->linkspeed == LINK_1000MB)
+ if (adapter->linkspeed == LINK_1000MB) {
level = 100;
- else {
+ } else {
if (load > SLIC_LOAD_5)
level = SLIC_INTAGG_5;
else if (load > SLIC_LOAD_4)
--
1.9.1
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/6] staging: slicoss: fix some style issues Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-11-18 19:00 +0100 [PATCH 5/6] staging: slicoss: avoid CamelCases in slichw.h Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-11-18 19:00 +0100 [PATCH 2/6] staging: slicoss: fix parenthesis alignment in slicoss.c Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-11-18 19:00 +0100 [PATCH 4/6] staging: slicoss: braces should be used on all arms of this statement Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-11-18 19:00 +0100 [PATCH 6/6] staging: slicoss: avoid CamelCases slicoss.c Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-11-18 19:00 +0100 [PATCH 1/6] staging: slicoss: avoid CamelCases in slic.h Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-11-18 19:00 +0100
csiph-web