From: Sergio Paracuellos Date: Fri, 6 Apr 2018 12:37:42 +0000 (+0200) Subject: staging: ks7010: remove KS_ATOM preprocessor condtional code X-Git-Tag: v4.18-rc1~83^2~752 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=f6eb1fee19806d07e85a3fcbe4a7e6ceab93fa4b;p=users%2Fwilly%2Flinux.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 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; }