History

vsock: remove vm_sockets_get_local_cid()

vm_sockets_get_local_cid() is only used in virtio_transport_common.c. We can replace it calling the virtio_transport_get_ops() and using the get_local_cid() callback registered by the transport.

Stefano Garzarella committed 7 years ago

Commit db205c71 parent 7ed78bc3 files · +1 −13Browse files

Showing the changes to include/linux (1 of 3 files). Show all

Unified · Split

include/linux/vm_sockets.h+0−2
@@ -10,6 +10,4 @@ · 9 unmodified lines
1010
1111 #include <uapi/linux/vm_sockets.h>
1212
13−int vm_sockets_get_local_cid(void);
14−
1513 #endif /* _VM_SOCKETS_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t