Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 175514
b: refs/heads/master
c: 02f7f17
h: refs/heads/master
v: v3
  • Loading branch information
Andrew Morton authored and John W. Linville committed Dec 7, 2009
1 parent b2f704f commit a78eae0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 16cec43da50c4b4702653ca710549fd3457a4e6c
refs/heads/master: 02f7f1793023bd8e5e277ad349f6f43f8c284fb0
4 changes: 2 additions & 2 deletions trunk/net/rfkill/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,8 @@ static ssize_t rfkill_name_show(struct device *dev,

static const char *rfkill_get_type_str(enum rfkill_type type)
{
BUILD_BUG_ON(NUM_RFKILL_TYPES != RFKILL_TYPE_FM + 1);

switch (type) {
case RFKILL_TYPE_WLAN:
return "wlan";
Expand All @@ -597,8 +599,6 @@ static const char *rfkill_get_type_str(enum rfkill_type type)
default:
BUG();
}

BUILD_BUG_ON(NUM_RFKILL_TYPES != RFKILL_TYPE_FM + 1);
}

static ssize_t rfkill_type_show(struct device *dev,
Expand Down

0 comments on commit a78eae0

Please sign in to comment.