This patch remove the compatibility aliases drm_mode_object_{reference/unreference} of drm_mode_object_{get/put} since all callers have been converted to the prefered _{get/put}. Remove the helpers from the semantic patch drm-get-put-cocci.
Showing the changes to scripts (1 of 2 files). Show all
Unified · Split
| @@ -16,12 +16,6 @@ expression object; · 15 unmodified lines | ||
| 16 | 16 | @@ |
| 17 | 17 | |
| 18 | 18 | ( |
| 19 | −- drm_mode_object_reference(object) | |
| 20 | −+ drm_mode_object_get(object) | |
| 21 | −| | |
| 22 | −- drm_mode_object_unreference(object) | |
| 23 | −+ drm_mode_object_put(object) | |
| 24 | −| | |
| 25 | 19 | - drm_connector_reference(object) |
| 26 | 20 | + drm_connector_get(object) |
| 27 | 21 | | |
| @@ -62,10 +56,6 @@ position p; · 34 unmodified lines | ||
| 62 | 56 | @@ |
| 63 | 57 | |
| 64 | 58 | ( |
| 65 | −drm_mode_object_unreference@p(object) | |
| 66 | −| | |
| 67 | −drm_mode_object_reference@p(object) | |
| 68 | −| | |
| 69 | 59 | drm_connector_unreference@p(object) |
| 70 | 60 | | |
| 71 | 61 | drm_connector_reference@p(object) |