[PATCH] cifs: revert needless change in decode_negTokenInit

2010-08-30 Thread Jeff Layton
9fbc590860e75785bdaf8b83e48fabfe4d4f7d58 needlessly changed some else if statements in decode_negTokenInit to if's. Not only was the change not needed, but it's less efficient than the existing code. When compare_oid returns true, then it's guaranteed to return false in the other cases.

Re: [PATCH] cifs: revert needless change in decode_negTokenInit

2010-08-30 Thread Shirish Pargaonkar
On Mon, Aug 30, 2010 at 8:05 AM, Jeff Layton jlay...@redhat.com wrote: 9fbc590860e75785bdaf8b83e48fabfe4d4f7d58 needlessly changed some else if statements in decode_negTokenInit to if's. Not only was the change not needed, but it's less efficient than the existing code. When compare_oid