From: Sergio Paracuellos Date: Fri, 6 Apr 2018 12:37:42 +0000 (+0200) Subject: staging: ks7010: remove KS_ATOM preprocessor condtional code X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f6eb1fee19806d07e85a3fcbe4a7e6ceab93fa4b;p=linux.git staging: ks7010: remove KS_ATOM preprocessor condtional code This commit removes KS_ATOM preprocessor conditional code from hif_align_size because it is not defined anywhere. Signed-off-by: Sergio Paracuellos Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h index 9e573b109e542..9cc265f9b1238 100644 --- a/drivers/staging/ks7010/ks_hostif.h +++ b/drivers/staging/ks7010/ks_hostif.h @@ -564,10 +564,6 @@ int ks_wlan_hw_power_save(struct ks_wlan_private *priv); static inline int hif_align_size(int size) { -#ifdef KS_ATOM - if (size < 1024) - size = 1024; -#endif return (size % KS7010_SIZE_ALIGNMENT) ? size + KS7010_SIZE_ALIGNMENT - (size % KS7010_SIZE_ALIGNMENT) : size; }