]> git.baikalelectronics.ru Git - kernel.git/commit
mISDN: remove unnecessary test on f_pos
authorJan Blunck <jblunck@suse.de>
Wed, 26 May 2010 21:44:46 +0000 (14:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 27 May 2010 16:12:56 +0000 (09:12 -0700)
commite2ce0e1f055a0486deb96991edc64c7c85393236
tree403ea81b6f7be48dab53b14f0881dba220d7453c
parentca6366302082dd88f92631d83a9b96d71e3d1efc
mISDN: remove unnecessary test on f_pos

This test is not doing anything since it is always false if the
mISDN_read() is called from vfs_read().  Besides that the driver uses
nonseekable_open() and is not using off or file->f_pos anywhere.

Signed-off-by: Jan Blunck <jblunck@suse.de>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Karsten Keil <isdn@linux-pingi.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/isdn/mISDN/timerdev.c