提交 f6eb1fee 编写于 作者: S Sergio Paracuellos 提交者: Greg Kroah-Hartman

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: NSergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 b777e3e1
...@@ -564,10 +564,6 @@ int ks_wlan_hw_power_save(struct ks_wlan_private *priv); ...@@ -564,10 +564,6 @@ int ks_wlan_hw_power_save(struct ks_wlan_private *priv);
static static
inline int hif_align_size(int size) 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 - return (size % KS7010_SIZE_ALIGNMENT) ? size + KS7010_SIZE_ALIGNMENT -
(size % KS7010_SIZE_ALIGNMENT) : size; (size % KS7010_SIZE_ALIGNMENT) : size;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册