]> git.hungrycats.org Git - linux/commit
[PATCH] paride cleanup and fixes (17/25)
authorAlexander Viro <viro@www.linux.org.uk>
Thu, 5 Feb 2004 01:18:42 +0000 (17:18 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Thu, 5 Feb 2004 01:18:42 +0000 (17:18 -0800)
commit3b4de4f2745b72242b22c9f8a6de343fd7058895
treec8b8e3086d1ffbd7e1885a5b164d764c53d931b5
parentf35387f3ebf55ec55712d2e11b074263d856357d
[PATCH] paride cleanup and fixes (17/25)

Equivalent transformation:
now that all phase functions are called claimed, we can
simplify the logics around claiming - new variable (pd_claimed)
keeps track of claim/unclaim we'd done.  We check it in the
beginning of the loop and do claiming if it's not set.
drivers/block/paride/pd.c