Re: [PATCH] Staging: comedi: Removed expression that has no effect

2015-05-14 Thread AdrianRemonda
On Tue, May 12, 2015 at 02:19:01PM -0700, Greg Kroah-Hartman wrote: > On Tue, May 12, 2015 at 11:03:52PM +0200, Adrian Remonda wrote: > > This patch remove a register from an '|' expression. > > It is wrong since after in the code, the variable ai_trig gets > > written back to that register. > >

Re: [PATCH] Staging: comedi: Removed expression that has no effect

2015-05-12 Thread Greg Kroah-Hartman
On Tue, May 12, 2015 at 11:03:52PM +0200, Adrian Remonda wrote: > This patch remove a register from an '|' expression. > It is wrong since after in the code, the variable ai_trig gets > written back to that register. > > > modified: drivers/staging/comedi/drivers/ni_mio_common.c What do

[PATCH] Staging: comedi: Removed expression that has no effect

2015-05-12 Thread Adrian Remonda
This patch remove a register from an '|' expression. It is wrong since after in the code, the variable ai_trig gets written back to that register. modified: drivers/staging/comedi/drivers/ni_mio_common.c Signed-off-by: Adrian Remonda --- drivers/staging/comedi/drivers/ni_mio_common.