Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
Mock Turtle
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Mock Turtle
Commits
5e955061
Commit
5e955061
authored
Nov 14, 2014
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lib: remove un-used error code
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
110fe0e1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
2 deletions
+0
-2
libwrnc.c
lib/libwrnc.c
+0
-1
libwrnc.h
lib/libwrnc.h
+0
-1
No files found.
lib/libwrnc.c
View file @
5e955061
...
@@ -26,7 +26,6 @@ static char wrnc_dev_list[WRNC_MAX_CARRIER + 1][WRNC_NAME_LEN];
...
@@ -26,7 +26,6 @@ static char wrnc_dev_list[WRNC_MAX_CARRIER + 1][WRNC_NAME_LEN];
static
char
*
wrnc_error_str
[]
=
{
static
char
*
wrnc_error_str
[]
=
{
"Cannot parse data from sysfs attribute"
,
"Cannot parse data from sysfs attribute"
,
"Invalid slot"
,
"Invalid slot"
,
""
,
"Operation not yet implemented"
,
"Operation not yet implemented"
,
NULL
,
NULL
,
};
};
...
...
lib/libwrnc.h
View file @
5e955061
...
@@ -32,7 +32,6 @@ struct wrnc_dev;
...
@@ -32,7 +32,6 @@ struct wrnc_dev;
enum
wrnc_error_number
{
enum
wrnc_error_number
{
EWRNC_INVAL_PARSE
=
83630
,
/**< cannot parse data from sysfs */
EWRNC_INVAL_PARSE
=
83630
,
/**< cannot parse data from sysfs */
EWRNC_INVAL_SLOT
,
/**< invalid slot */
EWRNC_INVAL_SLOT
,
/**< invalid slot */
EWRNC_SYNC_TO
,
/**< */
EWRNC_NO_IMPLEMENTATION
,
/**< a prototype is not implemented */
EWRNC_NO_IMPLEMENTATION
,
/**< a prototype is not implemented */
__EWRNC_MAX
,
__EWRNC_MAX
,
};
};
...
...
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