__GFP_ZERO is an uncommon flag and perhaps is better not used. static inline dma_zalloc_coherent exists so convert the uses of dma_alloc_coherent with __GFP_ZERO to the more common kernel style with zalloc. Remove memset from the static inline dma_zalloc_coherent and add just one use of __GFP_ZERO instead. Trivially reduces the size of the existing uses of dma_zalloc_coherent. Realign arguments as appropriate. Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Neil Horman <nhorman@tuxdriver.com> Acked-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
|---|---|---|
| .. | ||
| b43legacy.h | ||
| debugfs.c | ||
| debugfs.h | ||
| dma.c | ||
| dma.h | ||
| ilt.c | ||
| ilt.h | ||
| Kconfig | ||
| leds.c | ||
| leds.h | ||
| main.c | ||
| main.h | ||
| Makefile | ||
| phy.c | ||
| phy.h | ||
| pio.c | ||
| pio.h | ||
| radio.c | ||
| radio.h | ||
| rfkill.c | ||
| rfkill.h | ||
| sysfs.c | ||
| sysfs.h | ||
| xmit.c | ||
| xmit.h | ||