Re: [PATCH 1/4] staging: wlan-ng: use GENMASK macro in different defines of hfa384x.h
From: Dan Carpenter
Date: Tue Nov 15 2016 - 07:22:18 EST
On Thu, Nov 10, 2016 at 07:16:39PM +0100, Sergio Paracuellos wrote:
> +#define HFA384x_CMD_AINFO ((u16)GENMASK(14, 8))
The casts to u16 are pointless because of type promotion and half of
these defines aren't used anyway (both that I looked at).
regards,
dan carpenter