diff options
author | Bart Van Assche <[email protected]> | 2011-09-10 16:31:57 +0200 |
---|---|---|
committer | Roland Dreier <[email protected]> | 2012-11-30 17:40:33 -0800 |
commit | 9134a855178f141b9be48aa19b49ed92d82665ce (patch) | |
tree | 3465c38adc44a680b31f6b0b91ef4b93bbd20398 /lib/string_helpers.c | |
parent | ac9be30e91cffe07f762bd91ca40de065bf257d7 (diff) |
srp_transport: Simplify attribute initialization code
Eliminate the private_rport_attrs[] array and the SETUP_*() macros
used to set up that array since the information in that array
duplicates the information in the static device attributes. Also,
verify whether SRP_RPORT_ATTRS is large enough since it is easy to
forget to update that macro when adding new attributes.
Signed-off-by: Bart Van Assche <[email protected]>
Cc: FUJITA Tomonori <[email protected]>
Cc: Robert Jennings <[email protected]>
Acked-by: David Dillow <[email protected]>
Signed-off-by: Roland Dreier <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions