Commit 1462b307 authored by Rehas Sachdeva's avatar Rehas Sachdeva Committed by Greg Kroah-Hartman

staging: slicoss: Remove blank lines before & after braces

Removes unnecessary blank lines after an opening brace '{' and before a closing
brace '}'. Issue detected by checkpatch.pl.
Signed-off-by: default avatarRehas Sachdeva <aquannie@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1ef87b8d
...@@ -514,7 +514,6 @@ static int slic_card_download(struct adapter *adapter) ...@@ -514,7 +514,6 @@ static int slic_card_download(struct adapter *adapter)
slic_write32(adapter, SLIC_REG_WCS, instruction); slic_write32(adapter, SLIC_REG_WCS, instruction);
instruction = *(u32 *)(fw->data + index); instruction = *(u32 *)(fw->data + index);
index += 4; index += 4;
} }
} }
release_firmware(fw); release_firmware(fw);
...@@ -2717,7 +2716,6 @@ static int slic_card_init(struct sliccard *card, struct adapter *adapter) ...@@ -2717,7 +2716,6 @@ static int slic_card_init(struct sliccard *card, struct adapter *adapter)
/* see if the EEPROM is valid by checking it's checksum */ /* see if the EEPROM is valid by checking it's checksum */
if ((eecodesize <= MAX_EECODE_SIZE) && if ((eecodesize <= MAX_EECODE_SIZE) &&
(eecodesize >= MIN_EECODE_SIZE)) { (eecodesize >= MIN_EECODE_SIZE)) {
ee_chksum = ee_chksum =
*(u16 *)((char *)peeprom + (eecodesize - 2)); *(u16 *)((char *)peeprom + (eecodesize - 2));
/* /*
...@@ -2855,7 +2853,6 @@ static int slic_init_adapter(struct net_device *netdev, ...@@ -2855,7 +2853,6 @@ static int slic_init_adapter(struct net_device *netdev,
*/ */
for (index = 1, pslic_handle = &adapter->slic_handles[1]; for (index = 1, pslic_handle = &adapter->slic_handles[1];
index < SLIC_CMDQ_MAXCMDS; index++, pslic_handle++) { index < SLIC_CMDQ_MAXCMDS; index++, pslic_handle++) {
pslic_handle->token.handle_index = index; pslic_handle->token.handle_index = index;
pslic_handle->type = SLIC_HANDLE_FREE; pslic_handle->type = SLIC_HANDLE_FREE;
pslic_handle->next = adapter->pfree_slic_handles; pslic_handle->next = adapter->pfree_slic_handles;
......
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