Re: [PATCH 2/2] ath10k: pci: remove unnecessary casts

2019-06-27 Thread Kalle Valo
Johannes Berg writes: > On Thu, 2019-06-27 at 21:12 +0200, Johannes Berg wrote: >> On Thu, 2019-06-27 at 21:47 +0300, Kalle Valo wrote: >> > Fixes checkpatch warnings: >> > >> > drivers/net/wireless/ath/ath10k/pci.c:926: unnecessary cast may >> > hide bugs, see http://c-faq.com/malloc/ma >> >

Re: [PATCH 2/2] ath10k: pci: remove unnecessary casts

2019-06-27 Thread Johannes Berg
On Thu, 2019-06-27 at 21:12 +0200, Johannes Berg wrote: > On Thu, 2019-06-27 at 21:47 +0300, Kalle Valo wrote: > > Fixes checkpatch warnings: > > > > drivers/net/wireless/ath/ath10k/pci.c:926: unnecessary cast may hide bugs, > > see http://c-faq.com/malloc/ma > >

Re: [PATCH 2/2] ath10k: pci: remove unnecessary casts

2019-06-27 Thread Johannes Berg
On Thu, 2019-06-27 at 21:47 +0300, Kalle Valo wrote: > Fixes checkpatch warnings: > > drivers/net/wireless/ath/ath10k/pci.c:926: unnecessary cast may hide bugs, > see http://c-faq.com/malloc/ma > drivers/net/wireless/ath/ath10k/pci.c:1072: unnecessary cast may hide bugs, > see

[PATCH 2/2] ath10k: pci: remove unnecessary casts

2019-06-27 Thread Kalle Valo
Fixes checkpatch warnings: drivers/net/wireless/ath/ath10k/pci.c:926: unnecessary cast may hide bugs, see http://c-faq.com/malloc/ma drivers/net/wireless/ath/ath10k/pci.c:1072: unnecessary cast may hide bugs, see http://c-faq.com/malloc/m While at it, also remove unnecessary initialisation of