staging: android: sw_sync: checkpatch fixes
- no space after cast - allignment should match open parenthesis - remove unnecessary new line Signed-off-by: Purnendu Kapadia <pro8linux@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1f0f6c9862
commit
50d0a21b61
@ -48,11 +48,11 @@ EXPORT_SYMBOL(sw_sync_pt_create);
|
||||
|
||||
static struct sync_pt *sw_sync_pt_dup(struct sync_pt *sync_pt)
|
||||
{
|
||||
struct sw_sync_pt *pt = (struct sw_sync_pt *) sync_pt;
|
||||
struct sw_sync_pt *pt = (struct sw_sync_pt *)sync_pt;
|
||||
struct sw_sync_timeline *obj =
|
||||
(struct sw_sync_timeline *)sync_pt_parent(sync_pt);
|
||||
|
||||
return (struct sync_pt *) sw_sync_pt_create(obj, pt->value);
|
||||
return (struct sync_pt *)sw_sync_pt_create(obj, pt->value);
|
||||
}
|
||||
|
||||
static int sw_sync_pt_has_signaled(struct sync_pt *sync_pt)
|
||||
@ -111,7 +111,6 @@ static struct sync_timeline_ops sw_sync_timeline_ops = {
|
||||
.pt_value_str = sw_sync_pt_value_str,
|
||||
};
|
||||
|
||||
|
||||
struct sw_sync_timeline *sw_sync_timeline_create(const char *name)
|
||||
{
|
||||
struct sw_sync_timeline *obj = (struct sw_sync_timeline *)
|
||||
|
Loading…
Reference in New Issue
Block a user