From f6eb1fee19806d07e85a3fcbe4a7e6ceab93fa4b Mon Sep 17 00:00:00 2001 From: Sergio Paracuellos Date: Fri, 6 Apr 2018 14:37:42 +0200 Subject: [PATCH] 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 --- drivers/staging/ks7010/ks_hostif.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h index 9e573b109e54..9cc265f9b123 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; } -- 2.17.1