File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
drivers/staging/vc04_services/vchiq-mmal Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -168,9 +168,6 @@ struct vchiq_mmal_instance {
168
168
/* ensure serialised access to service */
169
169
struct mutex vchiq_mutex ;
170
170
171
- /* vmalloc page to receive scratch bulk xfers into */
172
- void * bulk_scratch ;
173
-
174
171
struct idr context_map ;
175
172
/* protect accesses to context_map */
176
173
struct mutex context_map_lock ;
@@ -1847,8 +1844,6 @@ int vchiq_mmal_finalise(struct vchiq_mmal_instance *instance)
1847
1844
flush_workqueue (instance -> bulk_wq );
1848
1845
destroy_workqueue (instance -> bulk_wq );
1849
1846
1850
- vfree (instance -> bulk_scratch );
1851
-
1852
1847
idr_destroy (& instance -> context_map );
1853
1848
1854
1849
kfree (instance );
@@ -1908,7 +1903,6 @@ int vchiq_mmal_init(struct vchiq_mmal_instance **out_instance)
1908
1903
1909
1904
mutex_init (& instance -> vchiq_mutex );
1910
1905
1911
- instance -> bulk_scratch = vmalloc (PAGE_SIZE );
1912
1906
instance -> vchiq_instance = vchiq_instance ;
1913
1907
1914
1908
mutex_init (& instance -> context_map_lock );
@@ -1939,7 +1933,6 @@ int vchiq_mmal_init(struct vchiq_mmal_instance **out_instance)
1939
1933
vchiq_close_service (instance -> service_handle );
1940
1934
destroy_workqueue (instance -> bulk_wq );
1941
1935
err_free :
1942
- vfree (instance -> bulk_scratch );
1943
1936
kfree (instance );
1944
1937
err_shutdown_vchiq :
1945
1938
vchiq_shutdown (vchiq_instance );
You can’t perform that action at this time.
0 commit comments