linux-stable/drivers/target/iscsi
Jörn Engel 8359cf43b9 target: remove useless casts
A reader should spend an extra moment whenever noticing a cast,
because either something special is going on that deserves extra
attention or, as is all too often the case, the code is wrong.

These casts, afaics, have all been useless.  They cast a foo* to a
foo*, cast a void* to the assigned type, cast a foo* to void*, before
assigning it to a void* variable, etc.

In a few cases I also removed an additional &...[0], which is equally
useless.

Lastly I added three FIXMEs where, to the best of my judgement, the
code appears to have a bug.  It would be good if someone could check
these.

Signed-off-by: Joern Engel <joern@logfs.org>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
2011-12-14 11:28:07 +00:00
..
iscsi_target.c target: remove useless casts 2011-12-14 11:28:07 +00:00
iscsi_target.h
iscsi_target_auth.c target: remove useless casts 2011-12-14 11:28:07 +00:00
iscsi_target_auth.h
iscsi_target_configfs.c target: remove useless casts 2011-12-14 11:28:07 +00:00
iscsi_target_configfs.h
iscsi_target_core.h target: remove unused struct fields 2011-12-06 06:00:56 +00:00
iscsi_target_datain_values.c
iscsi_target_datain_values.h
iscsi_target_device.c target: header reshuffle, part2 2011-12-14 11:26:05 +00:00
iscsi_target_device.h
iscsi_target_erl0.c target: header reshuffle, part2 2011-12-14 11:26:05 +00:00
iscsi_target_erl0.h
iscsi_target_erl1.c target: header reshuffle, part2 2011-12-14 11:26:05 +00:00
iscsi_target_erl1.h
iscsi_target_erl2.c target: header reshuffle, part2 2011-12-14 11:26:05 +00:00
iscsi_target_erl2.h
iscsi_target_login.c target: remove useless casts 2011-12-14 11:28:07 +00:00
iscsi_target_login.h
iscsi_target_nego.c target: remove useless casts 2011-12-14 11:28:07 +00:00
iscsi_target_nego.h
iscsi_target_nodeattrib.c target: remove useless casts 2011-12-14 11:28:07 +00:00
iscsi_target_nodeattrib.h
iscsi_target_parameters.c iscsi-target: Disable markers + remove dangerous local scope array usage 2011-09-16 19:37:18 +00:00
iscsi_target_parameters.h
iscsi_target_seq_pdu_list.c
iscsi_target_seq_pdu_list.h
iscsi_target_stat.c target: remove useless casts 2011-12-14 11:28:07 +00:00
iscsi_target_stat.h
iscsi_target_tmr.c target: header reshuffle, part2 2011-12-14 11:26:05 +00:00
iscsi_target_tmr.h
iscsi_target_tpg.c target: remove useless casts 2011-12-14 11:28:07 +00:00
iscsi_target_tpg.h
iscsi_target_tq.c
iscsi_target_tq.h
iscsi_target_util.c target: remove useless casts 2011-12-14 11:28:07 +00:00
iscsi_target_util.h iscsi-target: Remove SCF_SE_LUN_CMD flag abuses 2011-10-24 03:20:56 +00:00
Kconfig target: iscsi_target depends on NET 2011-07-28 20:16:18 +00:00
Makefile