ath10k: initialise struct ath10k_bus params to zero
This way we don't need to set every variable and give them to default, which is zero. This is also safer in case we forgot to initalise a new field in some of the bus modules. Compile tested only. Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
@@ -1954,7 +1954,7 @@ static int ath10k_sdio_probe(struct sdio_func *func,
|
||||
struct ath10k *ar;
|
||||
enum ath10k_hw_rev hw_rev;
|
||||
u32 dev_id_base;
|
||||
struct ath10k_bus_params bus_params;
|
||||
struct ath10k_bus_params bus_params = {};
|
||||
int ret, i;
|
||||
|
||||
/* Assumption: All SDIO based chipsets (so far) are QCA6174 based.
|
||||
|
Reference in New Issue
Block a user