]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: vc04_services: remove unused variables
authorKeerthi Reddy <keerthigd4990@gmail.com>
Thu, 28 Sep 2017 14:58:40 +0000 (20:28 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Sep 2017 13:26:06 +0000 (15:26 +0200)
commit92f4b995783cdc541aea1928f2832f2f6bfac4de
tree57e16d838ce5454707d4423c6d7a65c4e09cd132
parente652dc398685944d5124c20bcd14dc96444d43dc
Staging: vc04_services: remove unused variables

the volatile fields of bcm2835_alsa_stream -
control and status are not used.

$ grep bcm2835_alsa_stream
>From the above command all instances we see that
all variables of 'bcm2835_alsa_stream' are declared as
'alsa_stream'

So search for 'control' wherever we have 'alsa_stream'

$ grep -l 'alsa_stream' | xargs grep "control"
The above command returns where we don't any usage of
'control' field. which means that there is no usage of
these fields.

similarly for 'status' we see no usages.

Signed-off-by: Keerthi Reddy <keerthigd4990@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/bcm2835-audio/bcm2835.h