diff options
author | Himangi Saraogi <himangi774@gmail.com> | 2014-06-26 23:41:59 +0400 |
---|---|---|
committer | Tyler Hicks <tyhicks@canonical.com> | 2014-07-04 01:37:56 +0400 |
commit | c4cf3ba4f34819170fee43532f729e2fc6aa9a76 (patch) | |
tree | 12babcdb754b30162abf9c74bf83bb0153aabb59 /fs/cachefiles | |
parent | 9e78d14a9f641c0476f733f6fc559ba5cac6f52b (diff) | |
download | linux-c4cf3ba4f34819170fee43532f729e2fc6aa9a76.tar.xz |
ecryptfs: Drop cast
This patch does away with cast on void * and the if as it is unnecessary.
The following Coccinelle semantic patch was used for making the change:
@r@
expression x;
void* e;
type T;
identifier f;
@@
(
*((T *)e)
|
((T *)x)[...]
|
((T *)x)->f
|
- (T *)
e
)
Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Diffstat (limited to 'fs/cachefiles')
0 files changed, 0 insertions, 0 deletions