Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 204443
b: refs/heads/master
c: 7156fff
h: refs/heads/master
i:
  204441: 3f530f8
  204439: 5a831c3
v: v3
  • Loading branch information
Kulikov Vasiliy authored and Jiri Kosina committed Jul 20, 2010
1 parent 9e8d789 commit 95cfc65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 501af8d110f1fca597ff61c8611d018360ff9bf7
refs/heads/master: 7156fffaaa15aeb0e0247736eff0a86f75f49f81
4 changes: 1 addition & 3 deletions trunk/drivers/scsi/libfc/fc_exch.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,6 @@ static void fc_exch_els_rrq(struct fc_seq *, struct fc_frame *);
*/
static char *fc_exch_rctl_names[] = FC_RCTL_NAMES_INIT;

#define FC_TABLE_SIZE(x) (sizeof(x) / sizeof(x[0]))

/**
* fc_exch_name_lookup() - Lookup name by opcode
* @op: Opcode to be looked up
Expand Down Expand Up @@ -249,7 +247,7 @@ static inline const char *fc_exch_name_lookup(unsigned int op, char **table,
static const char *fc_exch_rctl_name(unsigned int op)
{
return fc_exch_name_lookup(op, fc_exch_rctl_names,
FC_TABLE_SIZE(fc_exch_rctl_names));
ARRAY_SIZE(fc_exch_rctl_names));
}

/**
Expand Down

0 comments on commit 95cfc65

Please sign in to comment.