Commit 7c7f2361 authored by Rehas Sachdeva's avatar Rehas Sachdeva Committed by Greg Kroah-Hartman

staging: rts5208: Remove space after cast

Removes unnecessary space after a cast. Issue found by checkpatch.
Signed-off-by: default avatarRehas Sachdeva <aquannie@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent eceef9a3
...@@ -135,12 +135,12 @@ typedef struct rtsx_dev rtsx_dev_t; ...@@ -135,12 +135,12 @@ typedef struct rtsx_dev rtsx_dev_t;
/* Convert between rtsx_dev and the corresponding Scsi_Host */ /* Convert between rtsx_dev and the corresponding Scsi_Host */
static inline struct Scsi_Host *rtsx_to_host(struct rtsx_dev *dev) static inline struct Scsi_Host *rtsx_to_host(struct rtsx_dev *dev)
{ {
return container_of((void *) dev, struct Scsi_Host, hostdata); return container_of((void *)dev, struct Scsi_Host, hostdata);
} }
static inline struct rtsx_dev *host_to_rtsx(struct Scsi_Host *host) static inline struct rtsx_dev *host_to_rtsx(struct Scsi_Host *host)
{ {
return (struct rtsx_dev *) host->hostdata; return (struct rtsx_dev *)host->hostdata;
} }
static inline void get_current_time(u8 *timeval_buf, int buf_len) static inline void get_current_time(u8 *timeval_buf, int buf_len)
......
...@@ -937,7 +937,7 @@ static void xd_set_unused_block(struct rtsx_chip *chip, u32 phy_blk) ...@@ -937,7 +937,7 @@ static void xd_set_unused_block(struct rtsx_chip *chip, u32 phy_blk)
dev_dbg(rtsx_dev(chip), "Set unused block to index %d\n", dev_dbg(rtsx_dev(chip), "Set unused block to index %d\n",
zone->set_index); zone->set_index);
zone->free_table[zone->set_index++] = (u16) (phy_blk & 0x3ff); zone->free_table[zone->set_index++] = (u16)(phy_blk & 0x3ff);
if (zone->set_index >= XD_FREE_TABLE_CNT) if (zone->set_index >= XD_FREE_TABLE_CNT)
zone->set_index = 0; zone->set_index = 0;
zone->unused_blk_cnt++; zone->unused_blk_cnt++;
......
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