mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-13 09:28:44 -04:00
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 <sergio.paracuellos@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
b777e3e152
commit
f6eb1fee19
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user