ssam_device_remove(9)
π
ssam_device_remove β like, the kernel API manual page, bestie π
okay so real talk, this is the man page for ssam_device_remove(9) and yes the name is literally in the title and again in the SYNOPSIS because Unix loves a callback β¨. It's a kernel API page, it's short, it's iconic, and we're gonna read it together. grab a strawberry π.
πΈ NAME πΈ
ssam_device_remove β bestie, it removes a SSAM client device. that's the whole vibe. no cap. π
β¨ SYNOPSIS β¨
void ssam_device_remove (struct ssam_device *sdev );
look at it. void return, one argument, zero drama. she's lowkey main character energy for how simple she is π«Ά.
π¦ ARGUMENTS π¦
sdevβ the device to remove. that's it. that's the whole argument. she's the one getting un-alived from the device list (affectionately) π.
π DESCRIPTION π
so what does it do? Removes and unregisters the provided SSAM client device. both things. removes and unregisters. highkey a two-for-one π. you hand it a struct ssam_device * and she goes and takes care of the rest. periodt.
no exit statuses, no signals, no env vars, no bugs documented, no warnings β this page is literally just that one sentence of description and honestly? we stan a minimal queen π.
π₯ SEE ALSO π₯
okay this is the fun part, the little friend group π:
- Kernel file
./drivers/platform/surface/aggregator/bus.c ssam_device_alloc(9)ssam_device_add(9)ssam_device_id_compatible(9)ssam_device_id_is_null(9)ssam_device_id_match(9)ssam_device_get_match(9)ssam_device_get_match_data(9)__ssam_device_driver_register(9)ssam_device_driver_unregister(9)ssam_bus_register(9)ssam_bus_unregister(9)__ssam_register_clients(9)ssam_remove_clients(9)
go read ssam_device_add(9) next if you wanna see her counterpart, iykyk π§
ngl there's genuinely nothing else on this page. no environment variables. no files besides the one above. no exit status, no errors, no notes. she's short and she knows it π
and that's the tea, bestie π΅ β this gem comes to you straight from the source path ./drivers/platform/surface/agg... and it's dated October 2026, so like, keep that in mind when you cite it ππ bye ily π«Άβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms