diff options
| author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2013-02-04 06:02:55 -0500 |
|---|---|---|
| committer | J. Bruce Fields <bfields@redhat.com> | 2013-02-15 10:43:47 -0500 |
| commit | 21cd1254d3402a72927ed744e8ac1a7cf532f1ea (patch) | |
| tree | 614baf2ba9099118ff94c3954fa5f22dcb75a086 /include/linux | |
| parent | 2d4383383b0b04ca380b67aa2d7397d0b399dcbf (diff) | |
SUNRPC: remove "cache_request" argument in sunrpc_cache_pipe_upcall() function
Passing this pointer is redundant since it's stored on cache_detail structure,
which is also passed to sunrpc_cache_pipe_upcall () function.
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/sunrpc/cache.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/linux/sunrpc/cache.h b/include/linux/sunrpc/cache.h index 4f1c8582053c..303399b1ba59 100644 --- a/include/linux/sunrpc/cache.h +++ b/include/linux/sunrpc/cache.h | |||
| @@ -161,11 +161,7 @@ sunrpc_cache_update(struct cache_detail *detail, | |||
| 161 | struct cache_head *new, struct cache_head *old, int hash); | 161 | struct cache_head *new, struct cache_head *old, int hash); |
| 162 | 162 | ||
| 163 | extern int | 163 | extern int |
| 164 | sunrpc_cache_pipe_upcall(struct cache_detail *detail, struct cache_head *h, | 164 | sunrpc_cache_pipe_upcall(struct cache_detail *detail, struct cache_head *h); |
| 165 | void (*cache_request)(struct cache_detail *, | ||
| 166 | struct cache_head *, | ||
| 167 | char **, | ||
| 168 | int *)); | ||
| 169 | 165 | ||
| 170 | 166 | ||
| 171 | extern void cache_clean_deferred(void *owner); | 167 | extern void cache_clean_deferred(void *owner); |
