From: Kevin McKinney Date: Sat, 13 Oct 2012 03:49:36 +0000 (-0400) Subject: Staging: bcm: Remove unneeded do while loop in InterfaceWRM. X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~84^2~1187 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e2731eb503e7ddb09fe02d955918e466ad1b0a4;p=pandora-kernel.git Staging: bcm: Remove unneeded do while loop in InterfaceWRM. This patch removes an unneeded do while loop which sends a control message to bcm usb device. In this case, the loop executes once because usRetries is initialized to zero. After the first iteration this variable will be 1. Therefore, the statement: "usRetries < MAX_RDM_WRM_RETIRES" will evaluate to false causing the do while statement to execute once because MAX_RDM_WRM_RETIRES is equal to 1. Signed-off-by: Kevin McKinney Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed