Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Upstream
linux-stable
Commits
1fda107d
Commit
1fda107d
authored
13 years ago
by
Thomas Gleixner
Browse files
Options
Download
Email Patches
Plain Diff
debugobjects: Remove unused return value from fill_pool()
Signed-off-by:
Thomas Gleixner
<
tglx@linutronix.de
>
parent
923e9a13
master
linux-3.10.y
linux-3.11.y
linux-3.12.y
linux-3.13.y
linux-3.14.y
linux-3.15.y
linux-3.16.y
linux-3.17.y
linux-3.18.y
linux-3.19.y
linux-3.5.y
linux-3.6.y
linux-3.7.y
linux-3.8.y
linux-3.9.y
linux-4.0.y
linux-4.1.y
linux-4.10.y
linux-4.11.y
linux-4.12.y
linux-4.13.y
linux-4.14.y
linux-4.15.y
linux-4.16.y
linux-4.17.y
linux-4.18.y
linux-4.19.y
linux-4.2.y
linux-4.20.y
linux-4.3.y
linux-4.4.y
linux-4.5.y
linux-4.6.y
linux-4.7.y
linux-4.8.y
linux-4.9.y
linux-5.0.y
linux-5.1.y
linux-5.10.y
linux-5.11.y
linux-5.12.y
linux-5.13.y
linux-5.14.y
linux-5.15.y
linux-5.16.y
linux-5.17.y
linux-5.18.y
linux-5.19.y
linux-5.2.y
linux-5.3.y
linux-5.4.y
linux-5.5.y
linux-5.6.y
linux-5.7.y
linux-5.8.y
linux-5.9.y
linux-6.0.y
linux-6.1.y
linux-rolling-lts
linux-rolling-stable
Tags unavailable
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/debugobjects.c
+3
-4
lib/debugobjects.c
with
3 additions
and
4 deletions
+3
-4
lib/debugobjects.c
View file @
1fda107d
...
...
@@ -79,17 +79,17 @@ static const char *obj_states[ODEBUG_STATE_MAX] = {
[
ODEBUG_STATE_NOTAVAILABLE
]
=
"not available"
,
};
static
int
fill_pool
(
void
)
static
void
fill_pool
(
void
)
{
gfp_t
gfp
=
GFP_ATOMIC
|
__GFP_NORETRY
|
__GFP_NOWARN
;
struct
debug_obj
*
new
;
unsigned
long
flags
;
if
(
likely
(
obj_pool_free
>=
ODEBUG_POOL_MIN_LEVEL
))
return
obj_pool_free
;
return
;
if
(
unlikely
(
!
obj_cache
))
return
obj_pool_free
;
return
;
while
(
obj_pool_free
<
ODEBUG_POOL_MIN_LEVEL
)
{
...
...
@@ -102,7 +102,6 @@ static int fill_pool(void)
obj_pool_free
++
;
raw_spin_unlock_irqrestore
(
&
pool_lock
,
flags
);
}
return
obj_pool_free
;
}
/*
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help