diff options
author | Nicolas Kaiser <nikai@nikai.net> | 2010-07-11 15:32:42 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-08-02 02:17:23 +0200 |
commit | 58c1e85af3645ac8df021dbf14acd215b5687f54 (patch) | |
tree | 63ebfd92e6ff5ceceda02f0835bc2a385720f855 /drivers/gpu/drm/via/via_verifier.h | |
parent | drm/i830: fixed brace and spacing coding style issues (diff) | |
download | linux-58c1e85af3645ac8df021dbf14acd215b5687f54.tar.xz linux-58c1e85af3645ac8df021dbf14acd215b5687f54.zip |
drm/via: fixed coding style issues, simplified return
Fixed brace, macro and spacing coding style issues.
Simplified
-if (ret) return ret;
-return 0;
+return ret;
Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/via/via_verifier.h')
-rw-r--r-- | drivers/gpu/drm/via/via_verifier.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/via/via_verifier.h b/drivers/gpu/drm/via/via_verifier.h index d6f8214b69f5..26b6d361ab95 100644 --- a/drivers/gpu/drm/via/via_verifier.h +++ b/drivers/gpu/drm/via/via_verifier.h @@ -54,8 +54,8 @@ typedef struct { const uint32_t *buf_start; } drm_via_state_t; -extern int via_verify_command_stream(const uint32_t * buf, unsigned int size, - struct drm_device * dev, int agp); +extern int via_verify_command_stream(const uint32_t *buf, unsigned int size, + struct drm_device *dev, int agp); extern int via_parse_command_stream(struct drm_device *dev, const uint32_t *buf, unsigned int size); |