mirror of
https://github.com/ostreedev/ostree.git
synced 2025-02-10 17:57:51 +03:00
lib/sysroot-cleanup: Drop dead code
We weren't actually using this `stbuf` anywhere.
This commit is contained in:
parent
898b1fdc70
commit
49eb8c04d5
@ -257,13 +257,6 @@ cleanup_old_deployments (OstreeSysroot *self,
|
||||
GCancellable *cancellable,
|
||||
GError **error)
|
||||
{
|
||||
/* Gather the device/inode of the rootfs, so we can double
|
||||
* check we won't delete it.
|
||||
*/
|
||||
struct stat root_stbuf;
|
||||
if (!glnx_fstatat (AT_FDCWD, "/", &root_stbuf, 0, error))
|
||||
return FALSE;
|
||||
|
||||
/* Load all active deployments referenced by bootloader configuration. */
|
||||
g_autoptr(GHashTable) active_deployment_dirs =
|
||||
g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user