[LinuxPPS] [PATCH 06/11] pps: Eliminate redundant masking.

George Spelvin linux at horizon.com
Fri Feb 6 14:32:25 CET 2009


It's already been masked once.

---
 drivers/pps/kapi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/pps/kapi.c b/drivers/pps/kapi.c
index 1247767..15cd5a2 100644
--- a/drivers/pps/kapi.c
+++ b/drivers/pps/kapi.c
@@ -303,7 +303,7 @@ pps_event(struct pps_device *pps, struct pps_ktime *ts, int event, void *data)
 			seq, pps->id);
 	}
 
-	if (event & mode & (PPS_CAPTUREASSERT | PPS_CAPTURECLEAR)) {
+	if (event & mode) {
 		pps->go = ~0;
 		wake_up_interruptible(&pps->queue);
 		kill_fasync(&pps->async_queue, SIGIO, POLL_IN);
-- 
1.6.0.6




More information about the LinuxPPS mailing list