Gitweb: http://git.kernel.org/linus/a149b51d2d2a2913e30e8697e4cc65a20719c695 Commit: a149b51d2d2a2913e30e8697e4cc65a20719c695 Parent: 34bbd837df3d4fa899de9658866068d364271da0 Author: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> AuthorDate: Sun Aug 23 15:29:26 2009 +0200 Committer: Greg Kroah-Hartman <gregkh@suse.de> CommitDate: Tue Sep 15 12:02:21 2009 -0700 Staging: rt3070: fix PID checking in RTUSBEnqueueCmdFromNdis() Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- drivers/staging/rt2870/common/rtusb_io.c | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rt2870/common/rtusb_io.c b/drivers/staging/rt2870/common/rtusb_io.c index ef545af..30c032d 100644 --- a/drivers/staging/rt2870/common/rtusb_io.c +++ b/drivers/staging/rt2870/common/rtusb_io.c @@ -982,12 +982,7 @@ NDIS_STATUS RTUSBEnqueueCmdFromNdis( PCmdQElmt cmdqelmt = NULL; POS_COOKIE pObj = (POS_COOKIE) pAd->OS_Cookie; -#ifndef RT30xx if (pid_nr(pObj->RTUSBCmdThr_pid) > 0) -#endif -#ifdef RT30xx - if (pObj->RTUSBCmdThr_pid < 0) -#endif return (NDIS_STATUS_RESOURCES); status = RTMPAllocateMemory((PVOID *)&cmdqelmt, sizeof(CmdQElmt)); -- To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
