Skip to content

Commit

Permalink
staging: slicoss: Remove blank lines before & after braces
Browse files Browse the repository at this point in the history
Removes unnecessary blank lines after an opening brace '{' and before a closing
brace '}'. Issue detected by checkpatch.pl.

Signed-off-by: Rehas Sachdeva <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
rehassachdeva authored and gregkh committed Sep 16, 2016
1 parent 1ef87b8 commit 1462b30
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/staging/slicoss/slicoss.c
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,6 @@ static int slic_card_download(struct adapter *adapter)
slic_write32(adapter, SLIC_REG_WCS, instruction);
instruction = *(u32 *)(fw->data + index);
index += 4;

}
}
release_firmware(fw);
Expand Down Expand Up @@ -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 */
if ((eecodesize <= MAX_EECODE_SIZE) &&
(eecodesize >= MIN_EECODE_SIZE)) {

ee_chksum =
*(u16 *)((char *)peeprom + (eecodesize - 2));
/*
Expand Down Expand Up @@ -2855,7 +2853,6 @@ static int slic_init_adapter(struct net_device *netdev,
*/
for (index = 1, pslic_handle = &adapter->slic_handles[1];
index < SLIC_CMDQ_MAXCMDS; index++, pslic_handle++) {

pslic_handle->token.handle_index = index;
pslic_handle->type = SLIC_HANDLE_FREE;
pslic_handle->next = adapter->pfree_slic_handles;
Expand Down

0 comments on commit 1462b30

Please sign in to comment.