From: Naresh Gottumukkala Date: Wed, 7 Aug 2013 07:22:32 +0000 (+0530) Subject: RDMA/ocrdma: Style and redundant code cleanup X-Git-Tag: v3.12-rc1~139^2^6~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f99b1649dbb6342d618307faef1f214fd54928b9;p=pandora-kernel.git RDMA/ocrdma: Style and redundant code cleanup Code cleanup and remove redundant code: 1) redundant initialization removed 2) braces changed as per CodingStyle. 3) redundant checks removed 4) extra braces in return statements removed. 5) removed unused pd pointer from mr. 6) reorganized get_dma_mr() 7) fixed set_av() to return error on invalid sgid index. 8) reference to ocrdma_dev removed from struct ocrdma_pd. Signed-off-by: Naresh Gottumukkala Signed-off-by: Roland Dreier --- Reading git-diff-tree failed