]> bbs.cooldavid.org Git - net-next-2.6.git/commit
Staging: hv: move ASSERT(scmnd) to a more useful location
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 3 May 2010 21:50:45 +0000 (17:50 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:36:04 +0000 (11:36 -0700)
commit8566ea7c6f9660623a6f04bc73431f761dee32c7
tree2b20227082b225b0f9f021e4823dcace4082ce56
parent9e629075ac694ab4d4971d4e62dfb749118bce70
Staging: hv: move ASSERT(scmnd) to a more useful location

There's not much point to make sure scmnd is not NULL after an assert
that would dereference scmnd.  The ASSERT()'s should be removed, but
until they are at least they at least can be in the right order.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/storvsc_drv.c