target/iscsi: Misc cleanups from Agrover (round 2)
This patch includes the handful of squashed patches for target/iscsi from Andy's original series into lio-core/master code: *) Make iscsit_add_reject static *) Remove unused data_offset_end from iscsi_datain_req *) Remove "#if 0" stubs *) Rename iscsi_datain_req to cmd_datain_node *) Cleanups for built_r2ts_for_cmd() *) Cleanups for Cleanup build_sendtargets_response() Signed-off-by: Andy Grover <agrover@redhat.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
This commit is contained in:

committed by
Nicholas Bellinger

parent
6f3c0e69a9
commit
8b1e1244db
@@ -803,14 +803,6 @@ static int iscsi_check_numerical_value(struct iscsi_param *param, char *value_pt
|
||||
|
||||
value = simple_strtoul(value_ptr, &tmpptr, 0);
|
||||
|
||||
/* #warning FIXME: Fix this */
|
||||
#if 0
|
||||
if (strspn(endptr, WHITE_SPACE) != strlen(endptr)) {
|
||||
pr_err("Illegal value \"%s\" for \"%s\".\n",
|
||||
value, param->name);
|
||||
return -1;
|
||||
}
|
||||
#endif
|
||||
if (IS_TYPERANGE_0_TO_2(param)) {
|
||||
if ((value < 0) || (value > 2)) {
|
||||
pr_err("Illegal value for \"%s\", must be"
|
||||
|
Reference in New Issue
Block a user