drm/radeon: Mark all possible functions / structs as static
Let's allow GCC to optimize better. This exposed some five unused functions, but this patch doesn't remove them. Signed-off-by: Lauri Kasanen <cand@gmx.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:

committed by
Alex Deucher

parent
b9ce0afeef
commit
1109ca09b9
@@ -847,7 +847,7 @@ static int r600_cs_track_check(struct radeon_cs_parser *p)
|
||||
* Assume that chunk_ib_index is properly set. Will return -EINVAL
|
||||
* if packet is bigger than remaining ib size. or if packets is unknown.
|
||||
**/
|
||||
int r600_cs_packet_parse(struct radeon_cs_parser *p,
|
||||
static int r600_cs_packet_parse(struct radeon_cs_parser *p,
|
||||
struct radeon_cs_packet *pkt,
|
||||
unsigned idx)
|
||||
{
|
||||
|
Reference in New Issue
Block a user