sbp2: split sbp2_create_command_orb() for better readability
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Tue, 13 Dec 2005 16:05:03 +0000 (11:05 -0500)
committerJody McIntyre <scjody@modernduck.com>
Tue, 13 Dec 2005 16:05:03 +0000 (11:05 -0500)
commitcf8d2c0965b891a5efce8c3a9a07a522e91ddba2
tree76786d162a6ad96f6f788c315223c47a5e10adee
parent209171a17a908605e516d11436371337a5d87f06
sbp2: split sbp2_create_command_orb() for better readability

sbp2_create_command_orb() code cleanup:
 - add two helper functions to reduce nesting depth
 - omit the return value which was always ignored
 - remove unnecessary declaration from sb2.h

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Jody McIntyre <scjody@modernduck.com>
drivers/ieee1394/sbp2.c
drivers/ieee1394/sbp2.h