diff options
author | 2011-09-10 16:31:57 +0200 | |
---|---|---|
committer | 2012-11-30 17:40:33 -0800 | |
commit | 9134a855178f141b9be48aa19b49ed92d82665ce (patch) | |
tree | 3465c38adc44a680b31f6b0b91ef4b93bbd20398 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | srp_transport: Fix attribute registration (diff) | |
download | linux-dev-9134a855178f141b9be48aa19b49ed92d82665ce.tar.xz linux-dev-9134a855178f141b9be48aa19b49ed92d82665ce.zip |
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 <bvanassche@acm.org>
Cc: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: Robert Jennings <rcj@linux.vnet.ibm.com>
Acked-by: David Dillow <dillowda@ornl.gov>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions