Removed a BUILD_BUG_ON() statement that was too restrictive.
authorbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Tue, 17 Nov 2009 18:00:23 +0000 (18:00 +0000)
committerbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Tue, 17 Nov 2009 18:00:23 +0000 (18:00 +0000)
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1343 d57e44dd-8a1f-0410-8b47-8ef2f437770f

srpt/src/ib_srpt.c

index 0d6e82f..98fe69c 100644 (file)
@@ -1146,8 +1146,6 @@ static int srpt_build_cmd_rsp(struct srpt_rdma_ch *ch,
        int sense_data_len;
        int resp_len;
 
-       BUILD_BUG_ON((sizeof(*sense) % 4) != 0);
-
        sense_data_len = (s_key == NO_SENSE) ? 0 : sizeof(*sense);
        resp_len = sizeof(*srp_rsp) + sense_data_len;