Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
9117c6dc
Commit
9117c6dc
authored
Nov 02, 2006
by
Stefan Richter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ieee1394: sbp2: remove unused struct members
Signed-off-by:
Stefan Richter
<
stefanr@s5r6.in-berlin.de
>
parent
28b06679
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
25 deletions
+4
-25
drivers/ieee1394/sbp2.c
drivers/ieee1394/sbp2.c
+4
-19
drivers/ieee1394/sbp2.h
drivers/ieee1394/sbp2.h
+0
-6
No files found.
drivers/ieee1394/sbp2.c
View file @
9117c6dc
...
...
@@ -1288,16 +1288,13 @@ static void sbp2_parse_unit_directory(struct scsi_id_instance_data *scsi_id,
struct
csr1212_keyval
*
kv
;
struct
csr1212_dentry
*
dentry
;
u64
management_agent_addr
;
u32
command_set_spec_id
,
command_set
,
unit_characteristics
,
firmware_revision
;
u32
unit_characteristics
,
firmware_revision
;
unsigned
workarounds
;
int
i
;
management_agent_addr
=
0x0
;
command_set_spec_id
=
0x0
;
command_set
=
0x0
;
unit_characteristics
=
0x0
;
firmware_revision
=
0x0
;
management_agent_addr
=
0
;
unit_characteristics
=
0
;
firmware_revision
=
0
;
csr1212_for_each_dir_entry
(
ud
->
ne
->
csr
,
kv
,
ud
->
ud_kv
,
dentry
)
{
switch
(
kv
->
key
.
id
)
{
...
...
@@ -1312,14 +1309,6 @@ static void sbp2_parse_unit_directory(struct scsi_id_instance_data *scsi_id,
ORB_SET_LUN
(
kv
->
value
.
immediate
);
break
;
case
SBP2_COMMAND_SET_SPEC_ID_KEY
:
command_set_spec_id
=
kv
->
value
.
immediate
;
break
;
case
SBP2_COMMAND_SET_KEY
:
command_set
=
kv
->
value
.
immediate
;
break
;
case
SBP2_UNIT_CHARACTERISTICS_KEY
:
/* FIXME: This is ignored so far.
* See SBP-2 clause 7.4.8. */
...
...
@@ -1380,10 +1369,6 @@ static void sbp2_parse_unit_directory(struct scsi_id_instance_data *scsi_id,
sbp2_parse_unit_directory
(
scsi_id
,
parent_ud
);
}
else
{
scsi_id
->
management_agent_addr
=
management_agent_addr
;
scsi_id
->
command_set_spec_id
=
command_set_spec_id
;
scsi_id
->
command_set
=
command_set
;
scsi_id
->
unit_characteristics
=
unit_characteristics
;
scsi_id
->
firmware_revision
=
firmware_revision
;
scsi_id
->
workarounds
=
workarounds
;
if
(
ud
->
flags
&
UNIT_DIRECTORY_HAS_LUN
)
scsi_id
->
lun
=
ORB_SET_LUN
(
ud
->
lun
);
...
...
drivers/ieee1394/sbp2.h
View file @
9117c6dc
...
...
@@ -295,12 +295,6 @@ struct scsi_id_instance_data {
u64
command_block_agent_addr
;
u32
speed_code
;
u32
max_payload_size
;
/* Pulled from the device's unit directory */
u32
command_set_spec_id
;
u32
command_set
;
u32
unit_characteristics
;
u32
firmware_revision
;
u16
lun
;
/* Address for the unit to write status blocks to */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment